import java.util.ArrayList;


public class ApplicationModel {

	public ArrayList<Event> eventsList;
	private Application controller;
	
	ApplicationModel (Application a)
	{
		this.controller = a;
		eventsList = new ArrayList<Event>();
		fillSampleEvent ();
	}
	
	public void fillSampleEvent()
	{
		eventsList.add(new Event());
		eventsList.add(new Event());
		eventsList.get(0).setEventStart(2011,6,2,14,30);
		eventsList.get(0).setEventEnd(2011,6,2,16,00);
		eventsList.get(0).setLocation("Uczelnia");
		eventsList.get(0).setCategory("Biznes");
		eventsList.get(0).setDescription("Miting z A.N.");
		eventsList.get(0).setPriority(2);
		eventsList.get(1).setEventStart(2011,6,4,20,30);
		eventsList.get(1).setEventEnd(2011,6,5,6,00);
		eventsList.get(1).setLocation("1308");
		eventsList.get(1).setCategory("Gaming");
		eventsList.get(1).setDescription("Diablo");
		eventsList.get(1).setPriority(1);
	}
	
}